package com.bjc.sdx.model;
import java.util.ArrayList;

public class ParentObj {
    private String pName;
    private ArrayList<ChildObj> childs = new ArrayList<ChildObj>();

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public ArrayList<ChildObj> getChilds() {
        return childs;
    }

    public void setChilds(ArrayList<ChildObj> childs) {
        this.childs.clear();
        this.childs.addAll(childs);
    }
}
